#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include <QStackedWidget>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QPushButton>
#include <QStyle>
#include "page/HomePage.h"
#include "page/BlogDetailsPage.h"
#include "page/MyPage.h"
#include "component/CommentListWidget.h"
#include "component/AppealListWidget.h"

class MainWindow : public QWidget
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);

private:
    QStackedWidget *contentArea;
    HomePage *homePage;
    CommentListWidget *messagePage;
    AppealListWidget *appealPage;
    QScrollArea *messageScrollArea;
    BlogDetailsPage *blogDetailsPage;
    MyPage *myPage;
};
#endif // MAINWINDOW_H
